package cn.aspect.annotation;

import cn.aspect.enums.DESENSITIZATION_TYPE;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 数据脱敏
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Desensitization {
    // 脱敏类型
    DESENSITIZATION_TYPE type() default DESENSITIZATION_TYPE.NONE;
}
